public class Grandfather {
    int money;

    Grandfather(){
        System.out.println("这是爷爷类的构造函数");
        money=50000;
    }
    void work(){
        System.out.println("WORK IN FARMLAND");
    }
}
